home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Hardware / Mac OS USB DDK / Mac OS USB DDK 1.4.1 / Examples / USBSampleStorageDriver / UnitTableDriver / UnitTableFloppySupport.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-25  |  997 b   |  29 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        UnitTableFloppySupport.h
  3.  
  4.     Contains:    All floppy disk specific functionality
  5.  
  6.     Version:    1.0
  7.  
  8.     Copyright:    © 1999 by Apple Computer, Inc., all rights reserved.
  9.  
  10. */
  11.  
  12. #pragma once
  13.  
  14. #include <MacTypes.h>
  15. #include "UnitTableDriveQSupport.h"
  16. #include "UnitTableDeviceAccess.h"
  17.  
  18. extern Boolean         IsDriveAFloppy( SInt16 driveRefNum );
  19.  
  20. // If these routines return any OSStatus except Request Pending, then the callback routine will not be called
  21. extern OSStatus     FloppyControlCallSupport( UInt32 userData, CntrlParamPtr cntrlPBPtr, ControlStatusCompletionProcPtr callBack );
  22. extern OSStatus     FloppyStatusCallSupport( UInt32 userData, CntrlParamPtr cntrlPBPtr, ControlStatusCompletionProcPtr callBack );
  23.  
  24. // These functions are for use by the DriveQSupport module only
  25. extern DriveQRecPtr    GetFloppyDriveRec( void );
  26. extern void         ResetFloppyDriveQueue(  DriveQRecPtr floppyDriveQ  );
  27. extern OSStatus     SetupFloppyStructures( SInt16 theDrvrRefNum );
  28. extern OSStatus     RemoveFloppyStructures( void );
  29.